package org.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 订单实体类
 */
@Data
@TableName("t_order")
public class Order {

    @TableId(type = IdType.ASSIGN_ID)
    private Long orderId;

    private Long userId;

    private String orderNo;

    private BigDecimal totalAmount;

    private String orderStatus;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private String remark;
} 